package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 通行房间记录对象 ps_room
 * 
 * @author ruoyi
 * @date 2021-10-29
 */
public class PsRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long rmId;

    /** 剂量计激活ID */
    @Excel(name = "剂量计激活ID")
    private String rpRlid;

    /** 信标标识 */
    @Excel(name = "信标标识")
    private String dpIp;

    /** 信标点名称 */
    @Excel(name = "信标点名称")
    private String drZone;

    /** 信标房间 */
    @Excel(name = "信标房间")
    private String drCode;

    /** 楼层 */
    @Excel(name = "楼层")
    private String dpFloor;

    /** 进入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "进入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date drStarttime;

    /** 出去时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出去时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date drEndtime;

    /** 房间剂量 */
    @Excel(name = "房间剂量")
    private BigDecimal drDosevalue;

    /** 累计时间 */
    @Excel(name = "累计时间")
    private Long drCumulativetime;

    /** 最大剂量率 */
    @Excel(name = "最大剂量率")
    private BigDecimal drMaxdoserate;

    public void setRmId(Long rmId) 
    {
        this.rmId = rmId;
    }

    public Long getRmId() 
    {
        return rmId;
    }
    public void setRpRlid(String rpRlid) 
    {
        this.rpRlid = rpRlid;
    }

    public String getRpRlid() 
    {
        return rpRlid;
    }
    public void setDpIp(String dpIp) 
    {
        this.dpIp = dpIp;
    }

    public String getDpIp() 
    {
        return dpIp;
    }
    public void setDrZone(String drZone) 
    {
        this.drZone = drZone;
    }

    public String getDrZone() 
    {
        return drZone;
    }
    public void setDrCode(String drCode) 
    {
        this.drCode = drCode;
    }

    public String getDrCode() 
    {
        return drCode;
    }
    public void setDpFloor(String dpFloor) 
    {
        this.dpFloor = dpFloor;
    }

    public String getDpFloor() 
    {
        return dpFloor;
    }
    public void setDrStarttime(Date drStarttime) 
    {
        this.drStarttime = drStarttime;
    }

    public Date getDrStarttime() 
    {
        return drStarttime;
    }
    public void setDrEndtime(Date drEndtime) 
    {
        this.drEndtime = drEndtime;
    }

    public Date getDrEndtime() 
    {
        return drEndtime;
    }
    public void setDrDosevalue(BigDecimal drDosevalue) 
    {
        this.drDosevalue = drDosevalue;
    }

    public BigDecimal getDrDosevalue() 
    {
        return drDosevalue;
    }
    public void setDrCumulativetime(Long drCumulativetime) 
    {
        this.drCumulativetime = drCumulativetime;
    }

    public Long getDrCumulativetime() 
    {
        return drCumulativetime;
    }
    public void setDrMaxdoserate(BigDecimal drMaxdoserate) 
    {
        this.drMaxdoserate = drMaxdoserate;
    }

    public BigDecimal getDrMaxdoserate() 
    {
        return drMaxdoserate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rmId", getRmId())
            .append("rpRlid", getRpRlid())
            .append("dpIp", getDpIp())
            .append("drZone", getDrZone())
            .append("drCode", getDrCode())
            .append("dpFloor", getDpFloor())
            .append("drStarttime", getDrStarttime())
            .append("drEndtime", getDrEndtime())
            .append("drDosevalue", getDrDosevalue())
            .append("drCumulativetime", getDrCumulativetime())
            .append("drMaxdoserate", getDrMaxdoserate())
            .toString();
    }
}
